from pydantic import BaseModel


class Farm(BaseModel):
    Name: str
    Address: str
    TotalArea: float
    GeoRange: str

    class Config:
        orm_mode = True
